import java.awt.*;

public class Example13{
    public static void main(String[] args){
        Frame f = new Frame("hello");
        f.setLayout(null);
        f.setSize(300,150);
        Button btn1 = new Button("pressdown");
        Button btn2 = new Button("pressup");
        btn1.setBounds(40,60,100,30);
        btn2.setBounds(140,90,100,30);
        f.add(btn1);
        f.add(btn2);
        f.setVisible(true);
    }
}